package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("博美",3,"白");
        dog.eat();
        dog.drink();
        dog.lookHome();

        Chick chk = new Chick("大母鸡",2,"棕");
        chk.eat();
        chk.drink();
        chk.layEggs();

        Fish fish = new Fish("小鱼",1,"金");
        fish.eat();
        fish.drink();
    }
}
